import request from './request'
import type { bannerItem } from '@/types/banner'

export async function getBanners() {
  return (await request.get('/api/banner')) as bannerItem[]
}
